<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Webadmin_Default" %>

<%@ Register Src="Modules/PowerBy.ascx" TagName="PowerBy" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<style type="text/css">
<!--
body {
	margin: 0px;
	padding: 0px;
	color : #333;
	background-color : #FFF;
	font-size : 11px;
	font-family : Arial, Helvetica, sans-serif;
}

#wrapper {
        border: 0px;
        margin: 0px;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
}

#header {
        background-color: #FFF;
        background-position: right top;
        border-bottom: 4px solid #80B5D7;
}

#vn {
        position: relative;
       
        background: url(Images/Skin/header_blue.jpg);
        background-position: top right;
        margin: 0px;
        padding: 0px;
}

#break { margin:10px;
}

form {
    margin: 0px;
}



.button {
	border : solid 1px #cccccc;
	background: #E9ECEF;
	color : #666666;
	font-weight : bold;
	font-size : 11px;
	padding: 4px;
	cursor:hand;
}

.login {
	margin-left: auto;
	margin-right: auto;
	margin-top: 6em;
	padding: 15px;
	border: 1px solid #cccccc;
	width: 429px;
	background: #F1F3F5;
}
	
.login h1 {
	background: url(../images/sk_blue/images/login_header.png) no-repeat;
	background-position: left top;
	color: #333;
	margin: 0px;
	height: 50px;
	padding: 15px 4px 0 50px;
 	text-align: left;
	font-size: 1.5em;
}

.login p {
	padding: 0 1em 0 1em;
	}
	
.form-block {
	border: 1px solid #cccccc;
	background: #E9ECEF;
	padding-top: 15px;
	padding-left: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
}

.login-form {
	text-align: left;
	float: right;
	width: 60%;
}

.login-text {
	text-align: left;
	width: 40%;
	float: left;
}

.inputlabel {
	font-weight: bold;
	text-align: left;
	}

.inputbox {
	width: 200px;
	margin: 0 0 1em 0;
	border: 1px solid #cccccc;
	}

.clr {
    clear:both;
    }

.ctr {
	text-align: center;
}

.version {
	font-size: 0.8em;
}

.footer {

}
.errorMsg {color:#FF0000; font-size: 9pt}
.power_by a {
	font-family:Tahoma;
	font-size:11px; color:#ff6600;
 }
 
.power_by a:hover {
	font-family:Tahoma;
	font-size:11px; color:#30569D;
 }
 -->
</style>
<script language="javascript" type="text/javascript" src="../JS/bizmac/bzLang.js"></script>
<script language="javascript" type="text/javascript">
    function checkSubmit()
    {
        txtUserName=document.getElementById('<%=this.txtUserName.ClientID %>');
        txtPassword=document.getElementById('<%=this.txtPassword.ClientID %>');
        if(txtUserName.value=='')
        {
            alert('<%=this.adminLang["UserNameEmpty"].ToString() %>');
            txtUserName.focus();
            return false;
        }
        if(txtPassword.value=='')
        {
            alert('<%=this.userPasswordEmpty %>');
            txtPassword.focus();
            return false;
        }
        return true;
    }
</script>
    <title>.: Welcome to Admin Console :.</title>        
</head>
<body>    
    <div id="wrapper">
    <div id="header">
           <div id="vn"><a href="http://thietkewebxinh.com" target="_blank"><img src="Images/Skin/header_text.png" border="0" /></a></div>
    </div>
</div>
<div id="ctr" align="center">
	<div class="login">
		<div class="login-form">
			<span style="font-size:26px; font-family:Arial, Helvetica, sans-serif; color: #FF9900 "><%=this.userLoginTitle %></span>
        	<form runat="server" method="post" onsubmit="return checkSubmit();" target="_parent" >
			<div class="form-block">
	        	<div class="inputlabel"><%=this.adminLang["UserName"] %></div>
		    	<div>
                    <asp:TextBox ID="txtUserName" runat="server" CssClass="inputbox"></asp:TextBox>		    	    
		    	</div>
	        	<div class="inputlabel"><%=this.userPassword%></div>
		    	<div>
                    <asp:TextBox ID="txtPassword" runat="server" CssClass="inputbox"></asp:TextBox>		    	    
		    	</div>
				<div class="inputlabel">
                    <asp:HyperLink ID="linkUser" runat="server"></asp:HyperLink>				
			    </div>
        	  <div style="text-align:left;margin-top:10px">
                 <asp:Button ID="btnLogin" runat="server" CssClass="button" OnClick="btnLogin_Click" />        	    
        	   </div>
        	</div>
        	</form>			
   	  </div>
		<div class="login-text">
			<div class="ctr"><a href="http://thietkewebxinh.com" target="_blank"><img src="Images/Skin/security.png" title="security" width="64" height="64" border="0" /></a></div>
        	<p>Welcome to Aministrator site !</p>
			<p>Input username and password to continue...</p>
<label style="float:right;margin-right:5px">
    <asp:HyperLink ID="linkChangeLanguage" runat="server" Text=""></asp:HyperLink></label>
    	</div>
	  <div class="clr"></div>
	</div>
</div>
    <uc1:PowerBy ID="PowerBy1" runat="server" />
</body>
</html>
<script language="javascript" type="text/javascript">
    document.getElementById('<%=this.txtUserName.ClientID %>').focus();
</script>


